<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>彩妆热卖</title>
		<style>
			body{
				background-color: gainsboro;
			}
			*{
				margin: 0;
				padding: 0;
			}
			li{
				list-style-type: none;
			}
			a{
				text-decoration: none;
				color:black;
			}
			#hotsale{
				width: 330px;
				background-color: white;
			}
			#hotsale .b{
				background-color:crimson;
				color: white;
				height: 50px;
				line-height: 50px;
				font-size: 20px;
				padding-left: 15px;
			}
			#hotsale .p li{
				height: 36px;
				line-height: 36px;
				font-size: 14px;
				color: grey;
				overflow: hidden;
			} 
			#hotsale .p li a span.o{
				height: 18px;
				width: 18px;
				font-size: 12px;
				line-height: 18px;
				text-align: center;
				border-radius: 50%;
				background-color: black;
				color: white;
				display: inline-block;
				margin-right: 8px;
				margin-left: 4px;
			}
			/* #hotsale .p li div.pict{
				display: none;
			} */
			#hotsale .p li:hover {
				height: 100%;
				color: red;
			}
			#hotsale .p li:hover span.o{
				background-color: red;
			}
			#hotsale .p li:hover a{ 
				color: red;
			}
		</style>
	</head>
	<body>
		<div id="hotsale">
			<h3 class="b">大家都喜欢的彩妆</h3>
			<ul class="p">
				<li>
					<a href="#"><span class="o">1</span>Za姬芮新能真皙美白隔离霜 35g</a>
					<div class="pict">
						<img src="icon-1.jpg" />
						<p>￥62.00 最近69122人购买</p>
					</div>
				</li>
				<li>
					<a href="#"><span class="o">2</span> 美宝莲精纯矿物奇妙新颜乳霜BB霜 30ml</a>
					<div  class="pict">
						<img src="icon-2.jpg" />
						<p>￥89.00 最近13610人购买</p>
					</div>
				</li>
				<li>
					<a href="#"><span class="o">3</span>菲奥娜水漾CC霜40g </a>
					<div  class="pict">
						<img src="icon-3.jpg" />
						<p>￥59.90 最近13403人购买</p>
					</div>
				</li>
				<li>
					<a href="#"><span class="o">4</span>DHC 蝶翠诗橄榄卸妆油 200ml</a>
					<div  class="pict">
						<img src="icon-4.jpg" />
						<p>￥169.00 最近16757人购买</p>
					</div>
				</li>
			</ul>
		</div>
	</body>
</html>
